Optimal. Leaf size=39 \[ \frac{b n \text{PolyLog}\left (2,-\frac{d x}{e}\right )}{d}+\frac{\log \left (\frac{d x}{e}+1\right ) \left (a+b \log \left (c x^n\right )\right )}{d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0750483, antiderivative size = 39, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.13, Rules used = {2333, 2317, 2391} \[ \frac{b n \text{PolyLog}\left (2,-\frac{d x}{e}\right )}{d}+\frac{\log \left (\frac{d x}{e}+1\right ) \left (a+b \log \left (c x^n\right )\right )}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2333
Rule 2317
Rule 2391
Rubi steps
\begin{align*} \int \frac{a+b \log \left (c x^n\right )}{\left (d+\frac{e}{x}\right ) x} \, dx &=\int \frac{a+b \log \left (c x^n\right )}{e+d x} \, dx\\ &=\frac{\left (a+b \log \left (c x^n\right )\right ) \log \left (1+\frac{d x}{e}\right )}{d}-\frac{(b n) \int \frac{\log \left (1+\frac{d x}{e}\right )}{x} \, dx}{d}\\ &=\frac{\left (a+b \log \left (c x^n\right )\right ) \log \left (1+\frac{d x}{e}\right )}{d}+\frac{b n \text{Li}_2\left (-\frac{d x}{e}\right )}{d}\\ \end{align*}
Mathematica [A] time = 0.0070959, size = 37, normalized size = 0.95 \[ \frac{b n \text{PolyLog}\left (2,-\frac{d x}{e}\right )+\log \left (\frac{d x}{e}+1\right ) \left (a+b \log \left (c x^n\right )\right )}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.135, size = 195, normalized size = 5. \begin{align*}{\frac{b\ln \left ( dx+e \right ) \ln \left ({x}^{n} \right ) }{d}}-{\frac{bn\ln \left ( dx+e \right ) }{d}\ln \left ( -{\frac{dx}{e}} \right ) }-{\frac{bn}{d}{\it dilog} \left ( -{\frac{dx}{e}} \right ) }+{\frac{{\frac{i}{2}}\ln \left ( dx+e \right ) b\pi \,{\it csgn} \left ( i{x}^{n} \right ) \left ({\it csgn} \left ( ic{x}^{n} \right ) \right ) ^{2}}{d}}-{\frac{{\frac{i}{2}}\ln \left ( dx+e \right ) b\pi \,{\it csgn} \left ( i{x}^{n} \right ){\it csgn} \left ( ic{x}^{n} \right ){\it csgn} \left ( ic \right ) }{d}}-{\frac{{\frac{i}{2}}\ln \left ( dx+e \right ) b\pi \, \left ({\it csgn} \left ( ic{x}^{n} \right ) \right ) ^{3}}{d}}+{\frac{{\frac{i}{2}}\ln \left ( dx+e \right ) b\pi \, \left ({\it csgn} \left ( ic{x}^{n} \right ) \right ) ^{2}{\it csgn} \left ( ic \right ) }{d}}+{\frac{b\ln \left ( dx+e \right ) \ln \left ( c \right ) }{d}}+{\frac{a\ln \left ( dx+e \right ) }{d}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} b \int \frac{\log \left (c\right ) + \log \left (x^{n}\right )}{d x + e}\,{d x} + \frac{a \log \left (d x + e\right )}{d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{b \log \left (c x^{n}\right ) + a}{d x + e}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{a + b \log{\left (c x^{n} \right )}}{d x + e}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{b \log \left (c x^{n}\right ) + a}{{\left (d + \frac{e}{x}\right )} x}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]